home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / forth / pfe-0.000 / pfe-0 / pfe-0.9.13 / mkbins.cmd < prev    next >
Encoding:
Text File  |  1995-04-26  |  1.2 KB  |  69 lines

  1. @echo off
  2.  
  3. rem Batch file to compile pfe with EMX and Watcom C on OS/2
  4. rem Builds directory bin.
  5.  
  6. set emxdir=E:\EMX
  7. set watdir=D:\WATCOM
  8.  
  9. rm -rf bin
  10. md bin
  11.  
  12. rem EMX binaries
  13. rem ------------
  14.  
  15. cd src
  16. make clean
  17. bash config.sh EMX
  18. make all
  19. cd ..
  20. md bin\EMX
  21. copy src\config.h bin\EMX
  22. copy src\Makefile bin\EMX
  23. copy src\*.exe bin\EMX
  24. copy %emxdir%\bin\emx.exe bin\EMX
  25. copy %emxdir%\dll\emx.dll bin\EMX
  26.  
  27. rem Help files assuming prefix=c:\
  28. rem ------------------------------
  29.  
  30. c:
  31. rm -rf /pfe
  32. md \lib
  33. md \lib\pfe
  34. md \lib\pfe\help
  35. cd \lib\pfe\help
  36. copy e:help\*.hlp
  37. bash -c "e:bin/EMX/helpidx -o index *.hlp"
  38. copy index e:bin\EMX
  39. e:
  40.  
  41.  
  42. rem Watcom binaries
  43. rem ---------------
  44.  
  45. cd src
  46. make clean
  47. set TARGET=OS2V2
  48. bash config.sh WATCOM
  49. make TARGET=OS2V2 pfe.exe
  50. cd ..
  51. md bin\WC_OS2V2
  52. copy src\config.h bin\WC_OS2V2
  53. copy src\config.h src\config\WATCOM
  54. copy src\Makefile bin\WC_OS2V2
  55. copy src\pfe.exe bin\WC_OS2V2
  56.  
  57. cd src
  58. make clean
  59. set TARGET=DOS4G
  60. bash config.sh WATCOM
  61. make TARGET=DOS4G pfe.exe
  62. cd ..
  63. md bin\WC_DOS4G
  64. copy src\config.h bin\WC_DOS4G
  65. del src\config\WATCOM\config.h
  66. copy src\Makefile bin\WC_DOS4G
  67. copy src\pfe.exe bin\WC_DOS4G
  68. copy %watdir%\bin\dos4gw.exe bin\WC_DOS4G
  69.